package com.jiechuang.order.controller;


import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RefreshScope
@RestController
public class OrderController{

    @RequestMapping(value = "/test/{name}",method = RequestMethod.GET)
    public String order(@PathVariable String name){
        return "order"+name+":";
    }
}
